package com.todod.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author dyl
 * @date 2021-03-12
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.project_file")
public class ProjectFile implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键id */
	@TableId("xf_id")
	private Long id;
	/** 目录id */
	@TableField("xf_xft_id")
	private Long xftId;
	/** 公司id */
	@TableField("xf_department_id")
	private Long departmentId;
	/** 项目id */
	@TableField("xf_xiangmu_id")
	private Long xiangmuId;
	/** 内部编号（记录日志） */
	@TableField("xf_batch_code")
	private String batchCode;
	/** 文件标签 */
	@TableField("xf_file_label")
	private String fileLabel;
	/** 原始名称 */
	@TableField("xf_original_name")
	private String originalName;
	/** 新名称 */
	@TableField("xf_file_name")
	private String fileName;
	/** 后缀 */
	@TableField("xf_suffix")
	private String suffix;
	/** 大小 */
	@TableField("xf_file_size")
	private Long fileSize;
	/** 绝对路径 */
	@TableField("xf_abstract_path")
	private String abstractPath;
	/** 相对路径 */
	@TableField("xf_relative_path")
	private String relativePath;
	/** 预览路径 */
	@TableField("xf_yulan_path")
	private String yulanPath;
	/** 状态（1：使用，2：历史） */
	@TableField("xf_state")
	private String state;
	/** 排序号 */
	@TableField("xf_sort_num")
	private Integer sortNum;
	/** 创建用户id */
	@TableField("xf_createuser_id")
	private Long createuserId;
	/** 创建时间 */
	@TableField("xf_createtime_ti")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createtimeTi;
	/** 修改用户名id */
	@TableField("xf_modifyuser_id")
	private Long modifyuserId;
	/** 修改时间 */
	@TableField("xf_modifytime_ti")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifytimeTi;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getXftId() {
		return xftId;
	}

	public void setXftId(Long xftId) {
		this.xftId = xftId;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public Long getXiangmuId() {
		return xiangmuId;
	}

	public void setXiangmuId(Long xiangmuId) {
		this.xiangmuId = xiangmuId;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getFileLabel() {
		return fileLabel;
	}

	public void setFileLabel(String fileLabel) {
		this.fileLabel = fileLabel;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public String getAbstractPath() {
		return abstractPath;
	}

	public void setAbstractPath(String abstractPath) {
		this.abstractPath = abstractPath;
	}

	public String getRelativePath() {
		return relativePath;
	}

	public void setRelativePath(String relativePath) {
		this.relativePath = relativePath;
	}

	public String getYulanPath() {
		return yulanPath;
	}

	public void setYulanPath(String yulanPath) {
		this.yulanPath = yulanPath;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public Long getCreateuserId() {
		return createuserId;
	}

	public void setCreateuserId(Long createuserId) {
		this.createuserId = createuserId;
	}

	public LocalDateTime getCreatetimeTi() {
		return createtimeTi;
	}

	public void setCreatetimeTi(LocalDateTime createtimeTi) {
		this.createtimeTi = createtimeTi;
	}

	public Long getModifyuserId() {
		return modifyuserId;
	}

	public void setModifyuserId(Long modifyuserId) {
		this.modifyuserId = modifyuserId;
	}

	public LocalDateTime getModifytimeTi() {
		return modifytimeTi;
	}

	public void setModifytimeTi(LocalDateTime modifytimeTi) {
		this.modifytimeTi = modifytimeTi;
	}

}
